package com.wh.weibo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;

/**
 * hello world
 *
 * @author weihong
 * @date 2019/7/8
 */
@SpringBootApplication(scanBasePackages = {"com.wh.weibo"})
@MapperScan("com.wh.weibo.mapper")
@ImportResource({"classpath*:/applicationContext.xml"})
public class App
{
    public static void main( String[] args )
    {
        SpringApplication.run(App.class, args);
    }
}
